Package com. yamilovs. insomnia. exporter. model
This package contains all the DTO models that describes Insomnia collection structure
Types
Link copied to clipboard
data class ApiSpec(workspace: Workspace, fileName: String) : ResourceBase
Content copied to clipboard
Link copied to clipboard
data class BaseEnvironment(workspace: Workspace, data: Map<String, Any>) : ResourceBase
Content copied to clipboard
Link copied to clipboard
class Collection(workspace: Workspace, apiSpec: ApiSpec, baseEnvironment: BaseEnvironment, environments: List<Environment>, requestGroups: List<RequestGroup>, requests: List<Request>)
Content copied to clipboard
Main insomnia Collection wrapper. Contains e.g. Workspace, ApiSpec, BaseEnvironment, Environments, RequestGroups and Requests
Link copied to clipboard
data class Environment(baseEnvironment: BaseEnvironment, name: String, data: Map<String, Any>, color: String?, isPrivate: Boolean, metaSortKey: Long) : ResourceBase
Content copied to clipboard
Environment resource
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Request(parent: IRequestParent, url: String, name: String, description: String, method: Method, body: IBody, parameters: List<IParameter>, headers: List<IHeader>, authentication: IAuthentication, metaSortKey: Long, isPrivate: Boolean, settingStoreCookies: Boolean, settingSendCookies: Boolean, settingDisableRenderRequestBody: Boolean, settingEncodeUrl: Boolean, settingRebuildPath: Boolean, settingFollowRedirects: FollowRedirect) : ResourceBase
Content copied to clipboard
Link copied to clipboard
data class RequestGroup(parent: IRequestGroupParent, name: String, description: String, environment: Map<String, Any>, metaSortKey: Long) : ResourceBase, IRequestParent, IRequestGroupParent
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Workspace(name: String, description: String) : ResourceBase, IRequestParent, IRequestGroupParent
Content copied to clipboard